# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skill-stock
pkgver=20.02_git20200428
pkgrel=0
_commit="b48a4982aa04a25ea33f7ad141c535551cf0888c"
pkgdesc="Mycroft AI official Stock Skill - providing current prices of stocks"
url="https://mycroft.ai/skills"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-requests"
source="https://github.com/mycroftai/skill-stock/archive/$_commit/skills-stock-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/skill-stock-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/share/mycroft/skills/mycroft-stock.mycroftai
	cp -r ./* "$pkgdir"/usr/share/mycroft/skills/mycroft-stock.mycroftai/
}

sha512sums="6bcab30269f7217a394c9ef1cb78367508d28c318371c819444c2712e0382a474aac3e9fda60ac670ebecdb17cd02c85bb86d928940f53304503b561db16a701  skills-stock-b48a4982aa04a25ea33f7ad141c535551cf0888c.tar.gz"
